
import java.util.ArrayList;


import com.google.code.morphia.annotations.Embedded;
import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
import com.google.code.morphia.annotations.Reference;
import org.bson.types.ObjectId;

@Entity
public class Message {

	@Id
	 String id;
	@Embedded
	Content messageData;
	@Embedded
	String destination;
	@Embedded
	String rootSender;
	@Embedded
	String currentMessageHolder;
	@Embedded
	Location startLocation;
	@Embedded
	ArrayList<Annotation> annotations;
	@Embedded
	int iterationsLeft;

}
